<template>
  <div class="mian-shi">
    <!-- 卡片视图 -->
    <el-card class="box-card">
      <el-row>
        <el-col :span="18">
          <div class="main">
            <el-form
              :inline="true"
              :model="formInline"
              class="demo-form-inline"
            >
              <el-form-item label="关键字">
                <el-input v-model="formInline.user" size="small"></el-input>
              </el-form-item>
              <el-form-item label="状态" class="zhuangtai">
                <el-select
                  v-model="formInline.region"
                  placeholder="请选择"
                  size="small"
                >
                  <el-option label="启用" value="shanghai"></el-option>
                  <el-option label="禁用" value="beijing"></el-option>
                </el-select>
              </el-form-item>
              <el-form-item>
                <el-button type="plain" size="mini">清除</el-button>
                <el-button type="primary" size="mini">搜索</el-button>
              </el-form-item>
            </el-form>
          </div>
        </el-col>
        <el-col :span="6" style="text-align: right">
          <div class="newly-increased">
            <el-button type="success" icon="el-icon-edit" size="mini">
              <span>新增技巧</span>
            </el-button>
          </div>
        </el-col>
      </el-row>

      <!-- 新增技巧的对话框 -->
      <el-alert title="数据一共?条" type="info" show-icon> </el-alert>
      <!-- /新增技巧的对话框 -->

      <!-- 用户列表区域 -->
      <el-table>
        <el-table-column prop="date" label="文章标题" width="400">
        </el-table-column>
        <el-table-column prop="name" label="姓名" width="170">
        </el-table-column>
        <el-table-column prop="address" label="地址" width="170">
        </el-table-column>
        <el-table-column prop="address" label="地址" width="170">
        </el-table-column>
        <el-table-column prop="address" label="地址" width="170">
        </el-table-column>
      </el-table>
      <!-- /用户列表区域 -->
    </el-card>
    <!-- /卡片视图 -->
  </div>
</template>
<script>
export default {
  name: "MianShi",
  data() {
    return {
      formInline: {
        user: "",
        region: "",
      },
    };
  },
  methods: {
    onSubmit() {
      console.log("submit!");
    },
  },
};
</script>
<style lang='less' scoped>
.mian-shi {
  .zhuangtai {
    margin-left: 50px;
  }
  .el-table__footer-wrapper {
    background-color: #909399;
  }
  .el-table th.is-leaf {
    border-bottom: 2px solid red;
  }
}
</style>